{extend name="common@base" /}



{block name="head_extend"}
<meta name ="keywords" content="{$sysConfigs['app.base.keyword']}">
<meta name="description" content="{$sysConfigs['app.base.description']}">

<script src="/static/js/MD5.min.js" type="application/javascript"></script>
{/block}

{block name="body"}
<div class="container">
    <div class="">
        <div class="col-md-4"></div>
        <div class="col-md-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    登录
                </div>
                <div class="panel-body">
                    <form action="{$_form.login_login}" method="post">
                        <div class="form-group">
                            <lable for="email">账号</lable>
                            <input type="email" class="form-control" name="email" id="email" placeholder="请输入账号">
                        </div>
                        <div class="form-group">
                            <lable for="password">密码</lable>
                            <input type="password" class="form-control" id="password" placeholder="请输入密码">
                            <input class="easyui-validatebox" type="hidden" id="pass" name="password" />
                        </div>
                        <div style='text-align: center'>
                            <button type="submit" class="btn btn-primary">登录</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="col-md-4"></div>
    </div>
</div>
<script>
    $(function () {
        $('#password').change(function () {
            $('#pass').val(md5($('#password').val()));
        });
    });
</script>
{/block}